package com.cash.channel.api.model;

import com.alibaba.fastjson.JSON;
import lombok.Data;

import java.io.Serializable;

/**
 * @blame taihao
 */
@Data
public class ApiRequestModel implements Serializable {

    private String key;

    private String channel;

    private String interfaceType;

    private String data;

    public ApiRequestModel(String key, String data, String channel, String interfaceType) {
        this.key = key;
        this.data = data;
        this.channel = channel;
        this.interfaceType = interfaceType;
    }

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }

    public String getChannel() {
        return channel;
    }

    public void setChannel(String channel) {
        this.channel = channel;
    }

    public String getData() {
        return data;
    }

    public void setData(String data) {
        this.data = data;
    }
}
